Enable file locking support for Hurd
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 16 Dec 2025 10:45:36 +0000 (11:45 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sun, 8 Mar 2026 10:11:47 +0000 (11:11 +0100)
commit07ee1ae116f227e7d7f404fa39937052b0af6431
tree1af0a82aa7ad61f3630bc4a8249f1bf51ece3451
parentce5cf75774f5e4957619ffe3aeba4c8e73ea2383
Enable file locking support for Hurd

like Illumos in #148322, Hurd was missed when originally introducing locking
gates per target OS in #132977. building rustc on Hurd was broken as a result
since 1.91.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name Enable-file-locking-support-for-Hurd.patch
library/std/src/fs/tests.rs
library/std/src/sys/fs/unix.rs